<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Modélisation_environnement_forestier Documentation:  Fichier source de Point.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Généré par Doxygen 1.7.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Page&nbsp;principale</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Fichiers</span></a></li>
    </ul>
  </div>
  <div class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Liste&nbsp;des&nbsp;fichiers</span></a></li>
      <li><a href="globals.html"><span>Membres&nbsp;de&nbsp;fichier</span></a></li>
    </ul>
  </div>
<div class="header">
  <div class="headertitle">
<h1>Point.h</h1>  </div>
</div>
<div class="contents">
<a href="_point_8h.html">Aller à la documentation de ce fichier.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef POINT_H</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define POINT_H</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span>
<a name="l00009"></a><a class="code" href="class_point.html">00009</a> <span class="keyword">class </span><a class="code" href="class_point.html">Point</a>
<a name="l00010"></a>00010 {
<a name="l00011"></a>00011 
<a name="l00012"></a>00012         <span class="comment">/* \class Point</span>
<a name="l00013"></a>00013 <span class="comment">         * \brief Classe représentant un point du nuage de points acquis par lidar terrestre. Notament ses coordonnées et sa couleur.</span>
<a name="l00014"></a>00014 <span class="comment">         */</span>
<a name="l00015"></a>00015 
<a name="l00016"></a>00016   <span class="keyword">private</span> :
<a name="l00017"></a>00017 
<a name="l00018"></a><a class="code" href="class_point.html#a7a41f3155d58d2cf5bc3319205775732">00018</a>         <span class="keywordtype">float</span> <a class="code" href="class_point.html#a7a41f3155d58d2cf5bc3319205775732">X</a>;                                                                                                                        
<a name="l00019"></a><a class="code" href="class_point.html#a48116229934f63bb7030863489cb397c">00019</a>         <span class="keywordtype">float</span> <a class="code" href="class_point.html#a48116229934f63bb7030863489cb397c">Y</a>;                                                                                                                        
<a name="l00020"></a><a class="code" href="class_point.html#a1209176c9a06795d3f7e8ba65f42e788">00020</a>         <span class="keywordtype">float</span> <a class="code" href="class_point.html#a1209176c9a06795d3f7e8ba65f42e788">Z</a>;                                                                                                                        
<a name="l00022"></a><a class="code" href="class_point.html#ae487c6b7cd06a5039226e4b2a64b11ab">00022</a>                 <span class="keywordtype">float</span> <a class="code" href="class_point.html#ae487c6b7cd06a5039226e4b2a64b11ab">R</a>;                                                                                                                        
<a name="l00023"></a><a class="code" href="class_point.html#a2566c225406688a3d1ae071e1f646d94">00023</a>         <span class="keywordtype">float</span> <a class="code" href="class_point.html#a2566c225406688a3d1ae071e1f646d94">G</a>;                                                                                                                        
<a name="l00024"></a><a class="code" href="class_point.html#a04c036d46be3ae064d27c183880b478c">00024</a>         <span class="keywordtype">float</span> <a class="code" href="class_point.html#a04c036d46be3ae064d27c183880b478c">B</a>;                                                                                                                        
<a name="l00026"></a>00026   <span class="keyword">public</span> :
<a name="l00027"></a>00027 
<a name="l00033"></a>00033         <a class="code" href="class_point.html#a94dc19d9beda0018169bd5ef8cd730c3" title="Constructeur de la classe Point.">Point</a>(<span class="keywordtype">void</span>);
<a name="l00034"></a>00034 
<a name="l00047"></a>00047         <a class="code" href="class_point.html#a94dc19d9beda0018169bd5ef8cd730c3" title="Constructeur de la classe Point.">Point</a>(<span class="keywordtype">float</span> _x, <span class="keywordtype">float</span> _y, <span class="keywordtype">float</span> _z, <span class="keywordtype">float</span> _r, <span class="keywordtype">float</span> _g, <span class="keywordtype">float</span> _b);
<a name="l00048"></a>00048 
<a name="l00056"></a>00056         <a class="code" href="class_point.html#a94dc19d9beda0018169bd5ef8cd730c3" title="Constructeur de la classe Point.">Point</a>(<span class="keyword">const</span> <a class="code" href="class_point.html">Point</a> &amp; _p);
<a name="l00057"></a>00057 
<a name="l00063"></a>00063         <a class="code" href="class_point.html#a395fa04b4ec126b66fc053f829a30cc1" title="Destructeur de la classe Point.">~Point</a>();
<a name="l00064"></a>00064 
<a name="l00065"></a>00065 
<a name="l00075"></a>00075         <span class="keywordtype">void</span> <a class="code" href="class_point.html#a428a1676e2fdec6753c42011a1d59d18" title="Modificateur de la classe Point.">setX</a>(<span class="keywordtype">float</span> _x);
<a name="l00076"></a>00076 
<a name="l00086"></a>00086         <span class="keywordtype">void</span> <a class="code" href="class_point.html#a9868c4601b0ea0c2d0de20fe41ee0e49" title="Modificateur de la classe Point.">setY</a>(<span class="keywordtype">float</span> _y);
<a name="l00087"></a>00087 
<a name="l00097"></a>00097         <span class="keywordtype">void</span> <a class="code" href="class_point.html#a8920db7f3d7d2559d484ea8a9e43e65f" title="Modificateur de la classe Point.">setZ</a>(<span class="keywordtype">float</span> _z);
<a name="l00098"></a>00098 
<a name="l00110"></a>00110                 <span class="keywordtype">void</span> <a class="code" href="class_point.html#a8b203eac90b8581f5dc5917106c31cd8" title="Modificateur de la classe Point.">setXYZ</a>(<span class="keywordtype">float</span> _x, <span class="keywordtype">float</span> _y, <span class="keywordtype">float</span> _z);
<a name="l00111"></a>00111 
<a name="l00112"></a>00112 
<a name="l00122"></a>00122                 <span class="keywordtype">void</span> <a class="code" href="class_point.html#a9463bc492f14aa9b6ab255aae1c66e35" title="Modificateur de la classe Point.">setR</a>(<span class="keywordtype">float</span> _r);
<a name="l00123"></a>00123 
<a name="l00133"></a>00133         <span class="keywordtype">void</span> <a class="code" href="class_point.html#acba329f4ab85cd7b5309ba43b2c8e591" title="Modificateur de la classe Point.">setG</a>(<span class="keywordtype">float</span> _g);
<a name="l00134"></a>00134         
<a name="l00144"></a>00144                 <span class="keywordtype">void</span> <a class="code" href="class_point.html#afd968e2803460dbf49149c5069204018" title="Modificateur de la classe Point.">setB</a>(<span class="keywordtype">float</span> _b);
<a name="l00145"></a>00145 
<a name="l00157"></a>00157                 <span class="keywordtype">void</span> <a class="code" href="class_point.html#ac8be6a1cc01dd0d467d5ade5fe600a1a" title="Modificateur de la classe Point.">setRGB</a>(<span class="keywordtype">float</span> _r, <span class="keywordtype">float</span> _g, <span class="keywordtype">float</span> _b);
<a name="l00158"></a>00158        
<a name="l00159"></a>00159 
<a name="l00167"></a>00167         <span class="keywordtype">float</span> <a class="code" href="class_point.html#a9aa94b8fd07296e64d304ef3750db113" title="Accesseur de la classe Point.">getX</a>(<span class="keywordtype">void</span>);
<a name="l00168"></a>00168         
<a name="l00176"></a>00176                 <span class="keywordtype">float</span> <a class="code" href="class_point.html#a2444daa96871c89614510bc4bfcd19ce" title="Accesseur de la classe Point.">getY</a>(<span class="keywordtype">void</span>);
<a name="l00177"></a>00177 
<a name="l00185"></a>00185         <span class="keywordtype">float</span> <a class="code" href="class_point.html#a1d67966cd8f1e8e2905b43c9e8d916be" title="Accesseur de la classe Point.">getZ</a>(<span class="keywordtype">void</span>);
<a name="l00186"></a>00186 
<a name="l00194"></a>00194                 <span class="keywordtype">float</span> <a class="code" href="class_point.html#a193e9f05b11ae60a242c4080d7de674c" title="Accesseur de la classe Point.">getR</a>(<span class="keywordtype">void</span>);
<a name="l00195"></a>00195 
<a name="l00203"></a>00203         <span class="keywordtype">float</span> <a class="code" href="class_point.html#ae0f34d2be3e1bf068f9329fa580f213c" title="Accesseur de la classe Point.">getG</a>(<span class="keywordtype">void</span>);
<a name="l00204"></a>00204 
<a name="l00212"></a>00212         <span class="keywordtype">float</span> <a class="code" href="class_point.html#a33e751d5817529cc37d015098aef4fd1" title="Accesseur de la classe Point.">getB</a>(<span class="keywordtype">void</span>);
<a name="l00213"></a>00213 
<a name="l00214"></a>00214 
<a name="l00222"></a>00222                 <span class="keywordtype">void</span> <a class="code" href="class_point.html#ad32f6a515be1cf069bf5ea6b89178ae9" title="Affiche dans la console les coordonnées (x,y,z) du point.">printPoint</a>();
<a name="l00223"></a>00223 
<a name="l00233"></a>00233         <a class="code" href="class_point.html">Point</a> &amp;<a class="code" href="class_point.html#a7ceeddf80eb97d2123c4bc78893a0a43" title="Surcharge de d&amp;#39;opérateur.">operator= </a>(<span class="keyword">const</span> <a class="code" href="class_point.html">Point</a> &amp;_p);
<a name="l00234"></a>00234 
<a name="l00244"></a>00244         <span class="keywordtype">bool</span> <a class="code" href="class_point.html#a02249040ba33323f10c7d14663fe163a" title="Surcharge de d&amp;#39;opérateur.">operator== </a>(<span class="keyword">const</span> <a class="code" href="class_point.html">Point</a> &amp; _p);
<a name="l00245"></a>00245 
<a name="l00255"></a>00255                 <span class="keywordtype">bool</span> <a class="code" href="class_point.html#ac8a6aa2ee1eb7102e1804ad79676085f" title="Surcharge de d&amp;#39;opérateur.">operator!= </a>(<span class="keyword">const</span> <a class="code" href="class_point.html">Point</a> &amp; _p);
<a name="l00256"></a>00256 
<a name="l00257"></a>00257 };
<a name="l00258"></a>00258 
<a name="l00259"></a>00259 <span class="preprocessor">#endif</span>
</pre></div></div>
</div>
<hr class="footer"/><address class="footer"><small>Généré le Mon Feb 21 2011 18:18:15 pour Modélisation_environnement_forestier Documentation par&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address>
</body>
</html>
